import api from "./index";

// 首页相关接口
export default {
  // 首页banner
  getBannerList: () => api.get("/applet/home/appletBannerList"),
  // 首页推荐
  getReferralsList: () => api.get("/applet/home/referralsList"),
  // 商品推荐
  getReferralsGoodList: () => api.get("/applet/home/referralsGoodList"),
  // 搜索
  getSearchResult: (params) => api.get("/applet/home/searchItem", params),
};
